package cn.com.agree.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author pedro@TaleLin
 * @author Juzi@TaleLin
 */
@Data
@TableName("product")
//@EqualsAndHashCode(callSuper = true)
public class ProductDO extends BaseModel implements Serializable {

    private static final long serialVersionUID = 3531805912578317266L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String author;

    private String summary;

    private String image;

    private String bcode;

    private String pstatus;

    private  String count;

    private Date createTime;
//
    private Date updateTime;

//    private List<ProductMacDO> maclist;

    private Date overTime;

//    @TableLogic
//    @JsonIgnore
//    @TableField(value="delete_time")
//    private Date deleteTime;

    private String product;
}
